from foftact.db.dbutil import pooled_db
from foftact.db.dbutil import fetch_query

connection = pooled_db.connection();

# Example of fetching data
select_query = "select * from fund limit 100;"
funds = fetch_query(connection, select_query)

for fund in funds:
    print(f'fund : {fund}')
